package com.cleaningcloud.erp.api.domain;

import com.cleaningcloud.common.core.annotation.Excel;
import com.cleaningcloud.common.core.web.domain.BaseEntity;
import lombok.Data;

/**
 * 商品管理对象 erp_commodity
 *
 * @author cleaningcloud
 * @date 2024-09-27
 */
@Data
public class ErpCommodity extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 商品ID
     */
    private Long commodityId;

    /**
     * 商品编号
     */
    @Excel(name = "商品编号", sort = 1)
    private String commodityNo;

    /**
     * 商品名称(外用)
     */
    @Excel(name = "商品名称(外用)", sort = 2)
    private String commodityName1;

    /**
     * 商品名称(内用)
     */
    @Excel(name = "商品名称(内用)", sort = 3)
    private String commodityName2;

    /**
     * 商品类型
     */
    @Excel(name = "商品类别值", sort = 4)
    private String commodityTypeId;

    /**
     * 商品类型
     */
    @Excel(name = "商品类别中文", sort = 4)
    private String commodityType;

    /**
     * 商品规格
     */
    @Excel(name = "商品规格", sort = 5)
    private String commoditySpec;

    /**
     * 商品品牌
     */
    @Excel(name = "商品品牌", sort = 6)
    private String commodityBrand;

    /**
     * 商品单位ID
     */
    private Long commodityUnitId;

    /**
     * 库存上限
     */
    @Excel(name = "库存上限", sort = 11)
    private Long inventoryLimit;

    /**
     * 库存下限
     */
    @Excel(name = "库存下限", sort = 12)
    private Long inventoryLowerLimit;

    /**
     * 商品图片
     */
//    @Excel(name = "商品图片")
    private String commodityImg;

    /**
     * 商品图文详情
     */
//    @Excel(name = "商品图文详情")
    private String commodityImgtext;

    /**
     * 商品描述
     */
    @Excel(name = "商品描述", sort = 13)
    private String commodityDescribe;

    /**
     * 创建人ID
     */
    private Long createId;

    /**
     * 创建人名称
     */
    @Excel(name = "创建人", type = Excel.Type.EXPORT, sort = 14)
    private String createName;

    /**
     * 备用是否关闭
     */
    private String flag;

    /**
     * 商品状态(0停用1启用)
     */
    private Long commodityStatus;


}
